import React from 'react'
import { render } from 'react-dom'

let arr = [111, 222, 333, 444,555,666]

let oDiv = <div id="box">
    <ul>
       {
           arr.map(item => <li>{ item }</li>)
       }
    </ul>
</div>


render(oDiv, document.getElementById('app'), () => {
    console.log("渲染成功")
})